package com.lx.dynamicdatasouce.mybatis.demo;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * @author lX
 * @version JDK 8
 * @className DynamicMybatisApplication (此处以class为例)
 * @date 2024/10/8
 * @description TODO
 */
@SpringBootApplication
@EnableAspectJAutoProxy(exposeProxy = true)
@EnableTransactionManagement  // 开启事务
public class DynamicMybatisApplication {


    public static void main(String[] args) {
        SpringApplication.run(DynamicMybatisApplication.class, args);
    }
}
